package com.ktjy.mapper;

import com.ktjy.entity.Auction;
import com.ktjy.entity.Auctionrecord;
import org.apache.ibatis.annotations.Param;

import javax.swing.*;
import java.util.Date;
import java.util.List;

/**
 * @Author: DABINGCHNEGJIAO
 * @CreateTime: 2025-06-17
 * @Description:
 * @Version: 1.0
 */
public interface AuctionrecordMapper {
    /**
     * 查询拍卖品关联记录
     * @param auctionid
     * @return
     */
    List<Auctionrecord> selectAuctionrecordById(@Param("auctionId") Long auctionid);
    /**
     * 新增拍卖品关联记录
     * @param auctionrecord
     * @return
     */
    int insertAuctionrecord(Auctionrecord auctionrecord);

    /**
     * 获取每个拍卖品的所有拍卖品记录 每个拍卖品记录里面有用户信息
     * @return
     */
    List<Auction> selectAuctionrecordAll( @Param("startorEnd") String startorEnd);
}
